package com.xyz;

import java.util.ArrayList;
import java.util.List;

public class Service {
	private List <Basket> baskets=new ArrayList <Basket>();

	public List<Basket> getBaskets() {
		return baskets;
	}
	
	public void addBasket(Basket newBasket) {
		this.baskets.add(newBasket);
	}

	public void addToBasket(Disc newDisc) {
		this.baskets.get(this.baskets.size()-1).addDisc(newDisc);
	}

	
}
